package com.dayu.gulimall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.dayu.common.utils.PageUtils;
import com.dayu.gulimall.product.entity.AttrGroupEntity;
import com.dayu.gulimall.product.vo.AttrGroupWithAttrVos;
import com.dayu.gulimall.product.vo.SkuItemVo;
import com.dayu.gulimall.product.vo.SpuItemGroupAttrVo;

import java.util.List;
import java.util.Map;

/**
 * 属性分组
 *
 * @author dayu
 * @email dayu@foxmail.com
 * @date 2020-05-07 09:26:27
 */
public interface AttrGroupService extends IService<AttrGroupEntity> {

    PageUtils queryPage(Map<String, Object> params);

    PageUtils queryPage(Map<String, Object> params, Long catelogId);

    List<AttrGroupWithAttrVos> getAttrGroupWithAttrsByCatelogId(Long catelogId);

    List<SpuItemGroupAttrVo> getAttrGroupWithAttrsBySpuId(Long spuId, Long catalogId);
}

